package com.slz3.business.module.drawManagement.draIntegralLottery.service;

import com.slz3.business.module.drawManagement.draIntegralLottery.domain.DraIntegralLottery;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface DraIntegralLotteryService {

    DraIntegralLottery save(DraIntegralLottery draIntegralLottery);

    Page<DraIntegralLottery> page(MultiValueMap<String,String> queryParams);

    DraIntegralLottery modify(DraIntegralLottery draIntegralLottery);

    Optional<DraIntegralLottery> single(UUID uuid);

    List<DraIntegralLottery> findAllByUuids(Iterable<UUID> uuids);

    List<DraIntegralLottery> delete(List<DraIntegralLottery> draIntegralLotteryList);

    List<DraIntegralLottery> lottery(List<DraIntegralLottery> draIntegralLotteryList);

}
